Skip to main content

Flow Nodes

Nodes are steps in a process that do specific tasks, like making decisions. They help run business workflows smoothly and automatically.

There are 4 Nodes to create the Flow:

  1. HTTP Listener
  2. Service Callout
  3. Decision
  4. HTTP Responser

HTTP Listener Node

The HTTP Listener node is the first node in an API flow that waits for incoming HTTP requests and then initiates the defined business logic or data flow.

  1. Click on HTTP Listener node from the canvas.
info

Canvas is the middle panel where users can drag and drop the required Nodes for constructing the flow.

HTTP_Listener

The HTTP Listener screen apperas as shown below

HTTP_Listener

  1. Enter Node Label and Description.

  2. Enter Pipeline Key.

info

Pipeline Key selects when the output of one element is the input of the next one.

Pipeline Key is used to retrieve all API-related data necessary for the operation of a workflow. It then passes this data to any of the nodes in the pipeline, enabling seamless communication and data sharing across the workflow.

  1. Click Save.

  2. Go to Input Parameter.

The Input Parameter screen apperas as shown below

HTTP_Listener

  1. Click on Methods field.

The Methods dropdown is shown as below.

HTTP_Listener

info

The HTTP Listener node supports various HTTP methods including POST, GET, PUT, DELETE, PATCH, and OPTIONS allowing it to handle a wide range of request types for different business operations such as data retrieval, updates, and deletions.

  1. Select the Method. Here taking the example of POST Method.
info

Base URL is fundamental preconfigured part of Flows or Journey's endpoint.

  1. Enter URI.

HTTP_Listener

  1. Under Query Params tab enter the value in JSON format if required.
info

Query Parameters: Set of parameters attached at the end of an URL. They are extensions of the URL that help to define specific content or actions based on the data being passed. It is always as Key and Value pair. It is specified by selecting any Source and Value must be JSON.

Request Header: The header lines set in the request. It can be used to set various parameters like content-type, accept type etc.

Request Body: The data sent to call an API.

  1. Go to Request Header tab.

  2. Enter Value in JSON format.

  3. Go to Request Body tab.

  4. Enter Value in JSON format.

HTTP_Listener

  1. Go to Request Body - Schema tab.
info

The Request Body Schema is a JSON Schema that automatically generates based on the request body structure. It helps ensure that the incoming data matches the expected format, while providing users with a straightforward way to validate and enforce data consistency.

HTTP_Listener

  1. Select the Schema validation as True or False indicating whether the schema is valid or not.

  2. Click on Save.

  3. Go to Log Properties.

info

Log Properties define structured, meaningful log messages with appropriate log levels to track system activity across environments like Dev, QA, and Prod. These properties help in filtering, analyzing, and transforming logs for debugging, monitoring, and even influencing business decisions.

The Log Properties screen apperas as shown below.

HTTP_Listener

  1. Click on Log level for input parameter dropdown.

HTTP_Listener

There are 4 Log Levels as per the above image:

Log LevelsDescription
TraceThis is a fine-grained information-finer even than DEBUG. When you’re at this level, you’re looking to capture every detail you possibly can about the application’s behavior. This allows the full visibility of what is happening in your application and inside the third-party libraries that you use.
InfoDesignates informational messages that highlight the progress of the application at a coarse-grained level.
DebugThe DEBUG log level should be used for information that may be needed for diagnosing issues. It designates fine-grained informational events that are most useful for debugging and troubleshooting or to make sure everything is running correctly in the application.
ErrorAn error is a serious issue that represents the failure of something important going on in your application. This log level should be used when the application hits such type of issue preventing one or more functionalities from properly functioning.
  1. Select as DEBUG.

  2. Click on Select input parameters dropdown.

The dropdown appears as shown in the below screen.

HTTP_Listener

  1. Select the Input Parameter to Log.

  2. Enable the Node entry and exit.

HTTP_Listener

  1. Click on Log level for node entry and exit dropdown.

  2. Select as DEBUG.

  3. Click Save.

  4. Click on Close button to close the HTTP Listener Node.

Decision Node

  1. Click on Nodes icon.

Decision

  1. Click and drag the Decision Node into the canvas.

  2. Click on the Edit icon.

Decision

info

Click Delete to delete the node.

The Decision screen apperas as shown below

Decision

  1. Enter Node Label and Description.

  2. Click Save.

  3. Go to Input Parameters.

Decision

  1. Select the Data type from the dropdown. Here taking the example of String data type.

  2. Select the Operator from the dropdown.

Decision

  1. Enter Operand1.
note

Operands can be added by using pipeline.

Adding the pipeline

  1. Click on Pipeline dropdown.

Decision

The Pipeline section displays a list of all available pipelines.

Decision

info

Use the search function to filter certain Pipeline.

Decision

  1. Click on Syntax Reference.
note

In the Syntax Reference section, a pipeline path parameter value is provided.

Users can copy and paste it directly to specify the exact required path.

Decision

  1. Copy the syntax into the field and modify it as needed based on your requirements.

  2. Copy the exact path using the pipeline section.

Decision

  1. Click Save.

  2. Go to Log Properties.

Decision

  1. Select the Log level for input parameter from the dropdown.

  2. Select Input parameters from the dropdown.

  3. Enable the Node entry and exit.

  4. Select Log level for node entry and exit from the dropdown.

  5. Click Save.

  6. Click on Close button to close the Decision Node.

Service Callout Node

  1. Click on Nodes icon.

Service Callout

  1. Click and drag the Service Callout Node into the canvas.

  2. Click on the Edit icon.

Service Callout

info

Click Delete to delete the node.

The Service Callout screen apperas as shown below

Service Callout

  1. Enter Node Label and Description.

  2. Enter Pipeline Key.

  3. Click Save.

  4. Go to Input Parameter.

The Input Parameter screen apperas as shown below

Service Callout

  1. Click on Methods field.

The Methods dropdown is shown as below.

Service Callout

Adding Global Variable

Click on Global Variables dropdown.

Global Variables

The Global Variables section displays a list of all available variables.

Global Variables

info

Use the search function to filter certain Variables.

Global Variables

  1. Click on Syntax Reference.
note

In the Syntax Reference section, a Global Variables path parameter value is provided.

Users can copy and paste it directly to specify the exact required path.

Global Variables

  1. Copy the syntax into the field and modify it as needed based on your requirements.

  2. Copy the exact path using the Global Variables section.

Service Callout

  1. Under Query Params tab enter the value in JSON format if required.

  2. Go to Request Header tab.

  3. Enter Value in JSON format by using pipeline.

Service Callout

  1. Go to Request Body tab.

  2. Enter Value in JSON format by using pipeline.

  3. Click Save.

  4. Go to Output Parameter.

Service Callout

  1. Under Response Header enter Sample Value in JSON format.

  2. Go to Response Body tab.

Service Callout

  1. Enter Sample Value in JSON format.

  2. Go to Response Code tab.

Service Callout

  1. Enter Code.

  2. Click Save.

  3. Go to Error Handling tab.

Error Handling

  1. Click Save.

  2. Go to Log Properties tab.

Log Properties

  1. Select the Log level for input parameter from the dropdown.

  2. Select Input parameters from the dropdown.

  3. Select the Log level for output parameter from the dropdown.

  4. Select Output parameters from the dropdown.

  5. Enable the Node entry and exit.

  6. Select Log level for node entry and exit from the dropdown.

  7. Click Save.

  8. Click on Close button to close the Service Callout Node.

HTTP Responder Node

  1. Click on Nodes icon.

HTTP Responder

  1. Click and drag the HTTP Responder Node into the canvas.

  2. Click on the Edit icon.

HTTP Responder

info

Click Delete to delete the node.

The HTTP Responder screen apperas as shown below

HTTP Responder

  1. Enter Node Label and Description.

  2. Go to Output Parameters.

HTTP Responder

  1. Under Response Header enter the Value in JSON format.

  2. Go to Response Body tab.

HTTP Responder

  1. Enter Value in JSON format.

  2. Got to Response Code tab.

HTTP Responder

  1. Enter Code.

  2. Click Save.

  3. Go to Log Properties tab.

HTTP Responder

  1. Select the Log level for output parameter from the dropdown.

  2. Select Output parameters from the dropdown.

  3. Enable the Node entry and exit.

  4. Select Log level for node entry and exit from the dropdown.

  5. Click Save.

  6. Click on Close button to close the Service Callout Node.

Connecting the Nodes

Connecting nodes means linking components in a flow to define the sequence and logic of data or actions.

  1. Hover over the Node.

Connect

  1. Click and hold the plus (+) icon.

  2. Drag the line to the next node you want to connect.

Connect

  1. Release the mouse once the line reaches the target node.

  2. Click on Save.

On saving, the confirmation message appears as shown below.

Validating the Flow

  1. Click on Validate.

Validate

On validating, the confirmation message appears as shown below.

Validate

Committing the Flow

info

Once the flow is committed, the nodes can no longer be edited. To make any changes, a new version must be created on top of the deployed one.

  1. Click on Commit.

Commit

On committing, confirm popup appear as shown below.

  1. Click on Proceed.

Commit

On proceeding, the confirmation message appears as shown below.

Commit

Deploy the Flow

  1. Click on Deploy.

Deploy

On deploying, confirm popup appear as shown below.

  1. Click on Proceed.

Deploy

On proceeding, the confirmation message appears as shown below.

Deploy

info

To test the API output, use the Postman tool, and copy the required data from the Flow Endpoints section.

Undeploy the Flow

  1. Click on Undeploy.

Undeploy

On undeploying, the confirmation message appears as shown below.

Undeploy

Create New Version for Flow

  1. Click on Create New Version.

Create New Version

The Add Version popup screen apperas as shown below

Create New Version

  1. Enter Version Name and Version Description.

  2. Click Save.

On saving, the confirmation message appears as shown below.

Create New Version

info

Only one version of a flow can be in the deployed state at a time. To deploy a different version, you must first undeploy the currently deployed one.